<template>
  <div class="dashboard-page">
    <el-button v-track="{ path: '/dashboard', button: '埋点', type: 'click' }" type="danger" @click="toTrack">埋点</el-button>
    <MdEditor v-model="text" />
  </div>
</template>

<script setup>
import { ref } from 'vue'
import { MdEditor } from 'md-editor-v3'
import 'md-editor-v3/lib/style.css'

const text = ref('# hello world')
const toTrack = () => {}
</script>

<style scoped>
.dashboard-page {
  position: unset;
  min-height: 100%;
  overflow-y: auto;
}
</style>
